package edu.hawaii.myisern.exceptions;
/**
 * Custom exception for an invalid collaboration name.
 * @author John Hauge
 *
 */
public class InvalidCollaborationNameException extends Exception {
  /**
   * Generated serial id.
   */
  private static final long serialVersionUID = -5675021862563350725L;
  private String mistake;
  
  /**
   * Constructor.
   * @param name Name that is invalid.
   */
  public InvalidCollaborationNameException(String name) {
    super();
    mistake = "Invalid Collaboration Name: " + name;
  }  
}
